﻿ using System.ComponentModel;
using System;
 using System.Linq;
 using System.Xml.Serialization;

namespace NTTDATA.BEENChina.ResultCertification.PropertyGridUtil.CustomObject
{
    [TypeConverter(typeof(CustomConverter))]
    public class SpecialCell  : PropertyData
    {

        private int _row = -1, _col = -1 ;
         

        [Category("range")]
        public int Row { get { return _row; } set { _row = value; } }
        [Category("range")]
        public int Col { get { return _col; } set { _col = value; } }
    

 

        #region PropertyData impl
        public string GetDisplayName()
        {
            return string.Format("row:{0},column{1}", _row, _col);
        }
        public string GetDescription()
        {
            return string.Format("row:{0},column{1}", _row, _col);

        }

        public string GetValue()
        {
            return string.Format("row:{0},column{1}", _row, _col);
        }
        #endregion

         
 
    }
   
}
